package com.powernode.reggie;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @description:
 * @author: www
 * @time: 2023/2/23 15:44
 */
@Slf4j //lombok提供的日志记录
@SpringBootApplication //SpringBoot 的启用类
@ServletComponentScan // Servlet组件扫描，扫描过滤器
@EnableTransactionManagement //开启事务注解支持
@EnableCaching //开启Spring Cache 注解缓存功能
public class ReggieApplication {
    public static void main(String[] args) {
        SpringApplication.run(ReggieApplication.class,args);
        log.info("项目启动成功。。。");
    }
}
